<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <title>khh分页</title>
</head>
<body>

<h3>显示图书信息</h3>
<table class="tt">
    <tr>
        <th>编号</th>
        <th>书名</th>
        <th>价格</th>
        <th>时间</th>
        <th>操作</th>
    </tr>
    <c:forEach items="${bookss}" var="s">
        <tr>
            <td>${s.id}</td>
            <td>${s.name}</td>
            <td>${s.price}</td>
            <td>${s.bdate}</td>
            <td><a href="bookservlet?did=${s.id}">删除</a></td>
        </tr>
    </c:forEach>
</table>
<a href="?p=1">one</a>
<a href="?p=${pagen-1}">up</a>
<a href="?p=${pagen+1}">down</a>
<a href="?p=${pagecount}">end</a>
</body>
</html>
